package com.gu.mobileweb.service.impl;

import com.gu.mobileweb.mapper.IndexWeekMapper;
import com.gu.mobileweb.model.IndexWeek;
import com.gu.mobileweb.service.IndexWeekService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexWeekServiceImpl implements IndexWeekService {
    @Autowired
    private IndexWeekMapper indexWeekMapper;

    @Override
    public List<IndexWeek> getAllIndexWeek() {
        return indexWeekMapper.getAllIndexWeek();
    }
}
